import java.util.Scanner;

public class Main {

	static Integer[] id = { 10322, 10214, 10113, 10007, 10096, 10222, 10020, 10024, 10009, 10013, 10130, 10121, 10114,
			10246, 10313, 10172, 10027, 10266, 10169, 10170, 10116, 10006, 10018, 10235, 10360, 10088, 10080, 10346,
			10280, 10175, 10060, 10152, 10105, 10372, 10035, 10041, 10366, 10037, 10273, 10363 };

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			String line = sc.nextLine();
			String[] va = line.split("\t");
			for (int i = 0; i < id.length; i++) {
				if (id[i] == Integer.parseInt(va[0])) {
					System.out.println(line);
					break;
				}
			}
		}

	}

}
